package cn.fsd.mapper;

import cn.fsd.domain.Storeroom;
import cn.fsd.query.delivery.StoreroomQuery;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StoreroomMapper {

  int deleteByPrimaryKey(String storeroom_id);

  int insert(Storeroom record);

  Storeroom selectByPrimaryKey(String storeroom_id);

  List<Storeroom> selectAll();

  int updateByPrimaryKey(Storeroom record);

  Storeroom selectByStoreroomName(String name);

  List<Storeroom> findStoreroomByPage(StoreroomQuery query);
}